package com.supper.javaconfig;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author yutao
 * @since 2020/4/13 3:44 下午
 */
@Component
public class PersonC {

    @Autowired
    private CarC carC;

    public CarC getCarC() {
        return carC;
    }

    @Override
    public String toString() {
        return "PersonC{" +
                "carC=" + carC +
                '}';
    }
}
